import request from '@/utils/request'

export function prePay(data) {
    return request({
        url: '/order/pay',
        method: 'post',
        data
    })
}

export function payStatus(params) {
    return request({
        url: '/order/check',
        method: 'get',
        params
    })
}

export function refund(data) {
    return request({
        url: '/order/refund',
        method: 'post',
        data
    })
}

